package obj.day5;

/**
 * @author げっしょく
 * @date 2021/7/21
 */
public class Test10 {
    public static void main(String[] args) {
        String s = "11 22 33 44 55 66";
        String[] s2 = s.split(" ");
        int[] arr = new int[s2.length];
        for (int i = 0; i < arr.length; i++) {
            arr[i] = Integer.parseInt(s2[i]);
        }
        int min = arr[0];
        for (int i = 0; i < arr.length; i++) {
            if(arr[i] < min ){
                min = arr[i];
            }
            System.out.println(arr[i]);
        }
        System.out.println(min);
    }
}
